<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>数字资产汇款</title>
  <link rel="stylesheet" href="./css/reset.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/cny_set.css">
  <link rel="stylesheet" href="./js/css/layui.css?t=1545041465443" media="all">
  <link rel="stylesheet" href="js/css/mylayui.css">

  <!-- 开发环境版本，包含了有帮助的命令行警告 -->
  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>
  <script src="https://cdn.bootcss.com/axios/0.18.0/axios.min.js"></script>
</head>
<body>
<div id="app">

  <div class="cash-out">
    <!--编辑-->
    <div class="edit-mask">
      <div class="mask"></div>
      <div class="modal">
        <form action="#">
          <div class="model-header">
            <span>编辑</span>
            <i class="closeEdit"></i>
          </div>
          <div class="model-content">
            <div class="content">

              <div class="verification-code">
                <span>币种：</span>
                <input type="text" v-model="USDCNY">
              </div>
              <div class="mms-verification">
                <span>*汇率：</span>
                <input type="text" v-model="exchangeRate"
                       placeholder="输入汇率">
              </div>
              <div class="btn">
                <input type="button" value="确定"
                       class="editConfirm">
                <input type="button" value="取消"
                       class="editCancel">
              </div>
            </div>
          </div>
        </form>
      </div>
    </div>
    <!--日志-->
    <div class="match-mask">
      <div class="mask"></div>
      <div class="wrap">
        <div class="modal">
          <div class="model-header">
            <span>操作日志</span>
            <i class="closeLog"></i>
          </div>
          <div class="content">
            <ul>
              <li v-for="(item, index) in matchOrderFinishData"
                  :class="finishIndex === index?'finish':''"
              >
                <div class="icon">
                  <span></span>
                </div>
                <div class="text">
                  <p>{{item.title}}</p>
                  <p>
                    <span>{{item.zfk}}</span>
                    <span>{{item.hms}}</span>
                  </p>
                </div>
              </li>
            </ul>
            <a class="actCouponBtn closeLog" href="javascript:;">
              <span>确定</span>
            </a>
          </div>
        </div>
      </div>
    </div>

    <!--服务器设置-->
    <div class="set-mask" v-show="cashOutSet">
      <!--<div class="set-mask" v-show="true">-->
      <div class="mask"></div>
      <div class="modal">
        <form action="#">
          <div class="model-header">
            <span>编辑</span>
            <i @click="closeCashOutSet"></i>
          </div>
          <div class="model-content">
            <div class="content">
              <div class="mms-verification">
                <span>服务器名称：</span>
                <input type="text" v-model="smsCode"
                       placeholder="请输入服务器名称">
              </div>
              <div class="sms">
                <span>状态：</span>
                <div class="item">
                  <label for="server1">
                    <input type="radio" id="server1"
                           class="radio" name="ser" checked="checked">
                    <i></i>
                  </label>
                  <span>开启</span>
                </div>
                <div class="item">
                  <label for="server2">
                    <input type="radio" id="server2"
                           class="radio" name="ser">
                    <i></i>
                  </label>
                  <span>关闭</span>
                </div>
              </div>
              <div class="btn">
                <input type="button" value="确定"
                       @click="submitSmsCode">
                <input type="button" value="取消"
                       @click="closeCashOutSet"
                >
              </div>
            </div>
          </div>
        </form>
      </div>
    </div>

    <!--设置成功-->
    <div class="set-succeed" v-show="setSucceed">
    <!--<div class="set-succeed" v-show="true">-->
      <div class="mask"></div>
      <div class="modal">
        <form action="#">
          <div class="model-header">
            <span>编辑</span>
            <i @click="closeSucceed"></i>
          </div>
          <div class="model-content">
            <div class="content">
              <div class="content-img"></div>
              <p class="text">设置成功！</p>
              <input type="button" value="关闭"
                     class="btn" @click="closeSucceed">
            </div>
          </div>
        </form>
      </div>
    </div>

    <div class="sidebar">
      <a class="logo" href="./index.html">NOWPAY</a>
      <a class="sidebar-item"
         v-for="(item,index) in sidebarNavList"
         :class="index === 3?'sidebar-active':''"
         :href="item.href"
      >
        <i :class="item.icon"></i>
        <span>{{item.text}}</span>
      </a>
    </div>
    <div class="main">
      <div class="main-top">
        <div class="top-content">
          <div class="content-left">欢迎使用NOVOXPAY出入金系统！</div>
          <div class="content-right">
            <span id="zfk"></span>
            <span id="watt"></span>
            <span id="hms"></span>
            <span>{{userName}}</span>
          </div>
        </div>
        <a class="top-logout" href="./login.html"></a>
      </div>
      <div class="main-warp">
        <p class="title">数字资产汇款</p>
        <div class="order-state">
          <div class="state-header">
            <div class="header-btn active">汇率设置</div>
            <div class="header-btn">服务器设置</div>
            <input type="button" value="添加服务器"
                   class="add-servers" @click="addServer">
          </div>

          <div class="servers-content">
            <!--汇率-->
            <div class="order-content active">
              <div class="layui-hide" id="demo" lay-filter="order">
              </div>
              <script type="text/html" id="barDemo">
                <a class="layui-btn layui-btn-primary layui-btn-xs"
                   lay-event="cny_set_edit">编辑</a>
                <a class="layui-btn layui-btn-primary layui-btn-xs"
                   lay-event="cny_set_log">日志</a>
              </script>
            </div>

            <!--服务器-->
            <div class="order-content">
              <div class="layui-hide" id="server" lay-filter="order">
              </div>
              <script type="text/html" id="barServer">
                <a class="layui-btn layui-btn-primary layui-btn-xs"
                   lay-event="cny_set_edit">编辑</a>
                <a class="layui-btn layui-btn-primary layui-btn-xs"
                   lay-event="cny_set_log">日志</a>
              </script>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
</body>
</html>
<script src="./js/cny_set.js"></script>
<script src="./js/read_cache.js"></script>
<script src="./js/layui.js"></script>
<script src="./js/cny_set_page.js"></script>
<script src="./js/log_sub.js"></script>
